import {
  get,
  post,
  put,
  del
} from '../utils/request.js'

//获取地址
export const getAddress = params => get('/customer/useraddress', params)

//获取省市区
export const getChinaList = params => get('/china', params)

//保存收货地址
export const addAddress = params => post('/customer/useraddress', params)

//修改收货地址
export const updateAddress = params => put('/customer/useraddress', params)
